<!--
 * @Author         : yanyongyu
 * @Date           : 2022-09-27 08:22:26
 * @LastEditors    : yanyongyu
 * @LastEditTime   : 2022-10-06 03:57:56
 * @Description    : None
 * @GitHub         : https://github.com/yanyongyu
-->

{% from "icons/tag.html.jinja" import octicon_tag %}
{% from "components/issue/label.html.jinja" import issue_label %}

{% macro unlabeled(event, ns) %}
<div class="TimelineItem">
  <div class="TimelineItem-badge">
    {{ octicon_tag() }}
  </div>
  <div class="TimelineItem-body">
    <a class="d-inline-block">
      <img class="avatar avatar-user" height="20" width="20" src="{{ event.actor.avatar_url }}" />
    </a>
    <a class="author Link--primary text-bold">
      {{ event.actor.login|escape }}
    </a>
    removed the
    {{ issue_label(event.label.name, event.label.color) }}
    label
    <a class="Link--secondary">{{ event.created_at|relative_time }}</a>
  </div>
</div>
{% endmacro %}
